<!--
 * @Author: asushiye
 * @Date: 2020-07-14 10:48:58
 * @Commit: file content
-->
<page-header autoTitle="false" />

<nz-card>
  <sf mode="search" [schema]="searchSchema" (formSubmit)="st.reset($event)" (formReset)="st.reset($event)" />
  <st #st [data]="url" [req]="req" [columns]="columns" [expand]="expand" [ps]="50" size="small" expandRowByClick expandAccordion>
    <ng-template #expand let-item let-index="index" let-column="column">
      <p [ngStyle]="{ color: 'red' }">{{ item!.scriptMsg }}</p>
      <textarea nz-input placeholder="script" [nzAutosize]="{ minRows: 2, maxRows: 6 }">{{ sqlformat(item!.script) }}</textarea>
      创建人： {{ item!.createdBy }}； 创建时间： {{ item!.createdDate }}； 来源名称： {{ item!.sourceName }}；
    </ng-template>
  </st>
</nz-card>
